<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- 表格对与seo不友好（搜索引擎优化），一般不使用表格实现表格 -->
    <table border="1">
        <tr><!--行-->
            <td>1</td><!--列-->
            <td>2</td>
            <td>3</td>
        </tr>
        <tr>
            <td>4</td>
            <td>5</td>
            <td>6</td>
        </tr>
        <tr>
            <td>7</td>
            <td>8</td>
            <td>9</td>
        </tr>
    </table>

    <table border="1">
        <caption>名单</caption><!--标题-->
        <thead><!--列名-->
            <th>姓名</th>
            <th>年龄</th>
        </thead>
        <tbody><!--表体-->
            <tr>
                <td>张三</td>
                <td>33</td>
            </tr>
            <tr>
                <td>李四</td>
                <td>44</td>
            </tr>
            <tr>
                <td>王五</td>
                <td>55</td>
            </tr>
        </tbody>
    </table>

    <!-- 表格合并 -->

    <table border="1" width="500px" height="200px" align="center" cellspacing="0">
        <tr>
            <td colspan="3">1-2-3</td>
            <td>4</td>
            <td>5</td>
        </tr>
        <tr>
            <td>6</td>
            <td>7</td>
            <td rowspan="3">8-13-18</td>
            <td>9</td>
            <td>10</td>
        </tr>
        <tr>
            <td rowspan="2" colspan="2">11-12-17-16</td>
            <td>14</td>
            <td>15</td>
        </tr>
        <tr>
            <td>19</td>
            <td>20</td>
        </tr>
    </table>
</body>

</html>